home *** CD-ROM | disk | FTP | other *** search
-
- > > > Will an networkdriver in C do the job?
- > > Maybe if we use these modular network drivers, the modules could be made
- > > in C (with gcc -O2 it would propably be fast enough?) and then in some way
- > > the functions could be put toghether in a library readable by Bad Mood, I
- > > don't know exactly how this could be done though...
- > Propably can't be done. From what I've seen, Bad Mood is written very
- > much like a demo, i.e. it relies very much on the fact that the machine
- > is always in a known state. Involving OS serial comms and some C drivers
- > would not only slow things down very much, but the OS involvement and the
- > fact the the machine will not always be in a known state will slow things
- > down even further.
-
- This is an idea to consider, though I believe that if the networking
- driver can be done using an interrupt (Which in itself makes it a bit
- harderto do in C), then the Bad Mood program itself doesn't really need to
- know what is going on. All it needs to know is when to fetch new data from
- the incoming buffer, and when to send off data through the outgoing
- buffer. (Once each second should be possible if the protocol is optimized
- with the consideration of package size) The networking code should be
- quick enough to not cause problems or slow-downs on the main program.
-
- > Let's not wander of in wonder-wonderland imagning things about what can
- > be done. I would say that the best bet in getting anything to work at all
- > is to use direct hardware accesses to the MIDI interface, it is a well
- > documented interface that hasn't changed very much since the ST's so we
- > have some pretty good proof it works with not too much work (MidiMaze and
- > SubStation).
-
- Using direct hardware access tot he other ports shouldn't be all that
- hard, either. I have access to the official Atari documentation, plus
- quite a bit more, and I looked over it a few days ago - Might be possible
- to achieve real high-speed networking through the serial port, and the
- Midi port might eve be stretched beyond 31250 bps. This is still just a
- theory, as I haven't tried it out. yet.
-
- > Somethimes choke on my Coca Cola when I read some of the more "in the
- > blue" suggestions.
-
- Yeah, I know the feeling :)
-
- Off to class. More stupid ideas and comments coming from me tomorrow!
-
- Kai
-
- =====================================================================
- Kai Trygve Holst # These are not the views of HiAa - They
- P.O.Box 5061, Larsgaarden # are Copyright (C) 1995, Kai Trygve Holst
- N-6021 Aalesund, Norway # "The fairest rose is picked the first"
- http://www.hials.no/~kh/ # "Time is the silentmost enemy of youth"
-
-